package cn.dnui_zjs008.dnuifood_.service;

import java.util.List;

import cn.dnui_zjs008.dnuifood_.bean.FoodBean;
import cn.dnui_zjs008.dnuifood_.bean.ShopBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ShopService {
    //获取所有店铺
    @GET("getAllShops.do")
    Call<List<ShopBean>> getAllShops();
    //获取当前店铺所有菜单
    @GET("getFoodByShop.do")
    Call<List<FoodBean>> getFoodByShop(
            @Query("shop_id") String shop_id);
    //获取店铺详情
    @GET("getShopById.do")
    Call<ShopBean> getShopById(
            @Query("shop_id") String shop_id);
}
